package cn.cljh.day9_19.dao;

import cn.cljh.day9_19.pojo.Book;
import cn.cljh.day9_19.pojo.Login;

import java.sql.SQLException;
import java.util.List;

public class Test {
    public static void main(String[] args) throws SQLException {
        BookDao bookDao = new BookDao();
        List<Book> books = bookDao.checkAll();
        System.out.println(books);
//        bookDao.insert(new Book("202020","java",0,0));
        LoginDao loginDao = new LoginDao();
//        Login root = loginDao.checkById("1");

//        System.out.println(root);
    }
}
